package com.sugar.subscribe.course.module.business.controller.admin.serviceclass.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 服务分类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ServiceClassRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5381")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("分类名称")
    private String name;

    @Schema(description = "分类图标", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("分类图标")
    private String icon;

    @Schema(description = "父级分类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19230")
    @ExcelProperty("父级分类ID")
    private Long parentId;

    @Schema(description = "排序")
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "首页推荐（0否 1是）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("首页推荐（0否 1是）")
    private Boolean homeRecommend;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}